const TokenAcc = 'access_token'
const TokenRef = 'refresh_token'


export function getAccToken() {
  return uni.getStorageSync(TokenAcc)
}

export function setAccToken(token) {
  return uni.setStorageSync(TokenAcc,token)
}

export function removeAccToken() {
  return  uni.removeStorageSync(TokenAcc);
}

export function getRefToken() {
  return uni.getStorageSync(TokenRef)
}

export function setRefToken(token) {
  return uni.setStorageSync(TokenRef,token)
}

export function removeRefToken() {
  return  uni.removeStorageSync(TokenRef);
}